country = sf::read_sf("./data/AOI/liberia_boundary_national.shp") |>sf::st_transform(32629)
counties = sf::st_read("./data/AOI/places_poly_county.shp") |>sf::st_transform(32629)Reading layer `places_poly_county' from data source
`/Users/seamus/repos/rspb-redd-risk-new/data/AOI/places_poly_county.shp'
using driver `ESRI Shapefile'
Simple feature collection with 16 features and 3 fields
Geometry type: POLYGON
Dimension: XY
Bounding box: xmin: -11.50675 ymin: 4.353908 xmax: -7.367323 ymax: 8.551925
Geodetic CRS: WGS 84
jurisdiction = counties |>dplyr::filter(name=="Grand Cape Mount County"|name=="Gharpolu County")
jurisdiction$name = 'Grand Cape Mount & Gharpolu Counties'
aoi = sf::read_sf("/Users/seamus/Library/CloudStorage/OneDrive-WinrockInternationalInstituteforAgriculturalDevelopment/20087 - RSPB Gola Feasibility/Deliverables/Spatial Data/AOI/Archive/ProjectArea_CF-Expansion_051525/updated_areas.shp") |>
sf::st_make_valid() |>
sf::st_transform("EPSG:32629") |>
sf::st_cast("MULTIPOLYGON") |> sf::st_as_sf()# |> dplyr::select("Name")
aoi$area_ha = round(as.numeric(sf::st_area(aoi) * 0.0001, 4))
aoi |> sf::st_drop_geometry() |> janitor::adorn_totals() |>
flextable::flextable() |>
flextable::fontsize(size=8,part="all") |>
flextable::autofit()Name | Shape_Leng | Shape_Area | area_ha |
|---|---|---|---|
Lukasu | 138,549.68 | 469,973,056 | 46,997 |
Mbarma CF | 91,209.87 | 443,230,136 | 44,323 |
Lower Sokpo CF | 59,692.55 | 140,691,204 | 14,069 |
Upper Sokpo CF | 62,831.33 | 109,225,715 | 10,923 |
Zuie CF | 92,221.99 | 362,360,113 | 36,236 |
Gola Forest National Park | 182,951.78 | 890,423,315 | 89,042 |
Tonglay CF | 76,824.36 | 195,953,085 | 19,595 |
Norman CF | 77,870.76 | 123,489,968 | 12,349 |
Foya | 351,458.82 | 1,048,825,566 | 104,885 |
Kposo | 77,241.08 | 307,632,539 | 30,763 |
Gola Konneh CF | 117,719.73 | 531,018,504 | 53,102 |
Gola Konneh CF (ext. S) | 56,323.80 | 108,968,871 | 10,897 |
Gola Konneh CF (ext. N) | 96,399.13 | 285,898,112 | 28,590 |
Lower Sokpo CF (ext.) | 45,714.33 | 47,712,283 | 4,771 |
Maima CF (ext.) | 59,344.81 | 139,163,854 | 13,916 |
Zuie CF (ext.) | 17,920.40 | 14,953,753 | 1,495 |
Yangaya | 46,462.77 | 58,336,055 | 5,834 |
Koninga | 71,795.27 | 317,410,805 | 31,741 |
Lobarsu | 62,061.63 | 165,254,549 | 16,548 |
Bade | 99,147.36 | 513,666,252 | 51,367 |
No-mans land | 209,804.70 | 394,466,117 | 39,447 |
Lower Guma | 56,222.96 | 142,192,367 | 14,219 |
Central Guma | 31,669.60 | 38,501,602 | 3,850 |
Upper Guma | 54,605.75 | 137,757,843 | 13,771 |
Hassala | 62,847.92 | 145,701,577 | 14,570 |
Buluyeama | 47,779.35 | 100,212,025 | 10,021 |
Hembeh | 199,395.60 | 461,835,431 | 46,184 |
Total | 2,546,067.34 | 7,694,854,697 | 769,505 |